package com.liao.dao;

import com.liao.bean.User;

import java.util.List;

public interface UserDao {

    public User selectUserById(Integer id) throws Exception;

    public List<User> selectUserList() throws Exception;

    public List<User> selectUserListByName(String username) throws Exception;

    public List<User> selectUserListByName2(String username) throws Exception;

    public List<User> selectUserListByName3(String username) throws Exception;

    public List<User> selectUserListByName4(String username) throws Exception;

    public void addUser(User user) throws Exception;

    public void addUser2(User user) throws Exception;

    public void deleteUser(Integer id) throws Exception;

    public void updateUser(User user) throws Exception;
}
